function Login(){
    
}

Login.prototype = {

    /**
     * This method starts Login Window behavior
     * @param {string} domId
     * ModalWindow DOM Id
     * @param {string} focusId
     * Dom Element Id that receives focus after Window Start
     * @param {boolean} backdrop
     * Do Application background turned to gray such as a Modal window? (default:false)
     * @param {boolean} keyboard 
     * Do Esc key closes window? (default:false)
     */
    startLoginWindow : function(domId, focusId, backdrop, keyboard) {
      backdrop = typeof(backdrop) === 'undefined' ? false : backdrop;
      keyboard = typeof(keyboard) === 'undefined' ? false : keyboard;            
      $(domId).modal({
          backdrop:backdrop,
          keyboard:keyboard,
          show:true
      });
      //Set focus to focus object
      $(focusId).focus();
      //Actvate error alert
      $(".alert").alert();
    }
    
}

